package com.rc.evcharger.model.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.evcharger.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description 
 * @Author  
 * @Date: 2022-05-09
 */

@ApiModel(value=" rc_channel_gain_setting ", description=" 平台渠道权益设置表 ")
public class RcChannelGainSetting extends BaseModel{ 

    @ApiModelProperty(value = "权益ID")
    private Long channelGainId;
 
    @ApiModelProperty(value = "渠道等级权益编码,大写S为前缀，如S0-S5")
    private String channelLevel;
 
    @ApiModelProperty(value = "等级权益名称")
    private String gainName;
 
    @ApiModelProperty(value = "0新用户返点 1复充返点 2尊享标识 默认0")
    private String gainType;
 
    @ApiModelProperty(value = "图标")
    private String gainLogo;
 
    @ApiModelProperty(value = "返点比例")
    private String rebateRatio;
 
    @ApiModelProperty(value = "权益说明")
    private String gainExplain;
 
    @ApiModelProperty(value = "排序")
    private Integer sort;
 
    @ApiModelProperty(value = "说明")
    private String remark;
 
    @ApiModelProperty(value = "状态 0启用 1停用 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getChannelGainId() {
        return channelGainId;
    }

    public void setChannelGainId(Long channelGainId) {
        this.channelGainId = channelGainId;
    }

    public String getChannelLevel() {
        return channelLevel;
    }

    public void setChannelLevel(String channelLevel) {
        this.channelLevel = channelLevel;
    }

    public String getGainName() {
        return gainName;
    }

    public void setGainName(String gainName) {
        this.gainName = gainName;
    }

    public String getGainType() {
        return gainType;
    }

    public void setGainType(String gainType) {
        this.gainType = gainType;
    }

    public String getGainLogo() {
        return gainLogo;
    }

    public void setGainLogo(String gainLogo) {
        this.gainLogo = gainLogo;
    }

    public String getRebateRatio() {
        return rebateRatio;
    }

    public void setRebateRatio(String rebateRatio) {
        this.rebateRatio = rebateRatio;
    }

    public String getGainExplain() {
        return gainExplain;
    }

    public void setGainExplain(String gainExplain) {
        this.gainExplain = gainExplain;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
